<template>
  <div
    class="deviceListDetail padding_16 border_radius_4 box_shadow_ccc margin_bottom_16 display_flex justify_content_space_between align_items_center"
    :class="className"
    type="flex"
    justify="center"
    align="center"
    @click="detailFn(detailObj.relatedId)"
  >
    <img :src="detailObj.imgUrl" class="width_32 height_32 border_radius__50" />
    <div class="text_align_left width__70">
      <p class="font_size_14 color_333 van-ellipsis">
        {{ detailObj.relatedName }}
      </p>
      <p class="font_size_12 margin_top_4 color_CCC">
        设备状态：{{ statusText }}
      </p>
    </div>
    <i class="icon iconfont icon-diandiandian color_CCC" />
  </div>
</template>

<script src="./deviceListDetail.js" />
